#include "submit-6MixQuery.h"
#include "RTree.h"
#include "Polygon.h"

using namespace std;

void SetEnvironmentFromMixQuery() {

}

void AddPointFromMixQuery(int id, double x, double y) {
	AddPoint(id, x, y);
}

void DeletePointFromMixQuery(int id) {
	DeletePoint(id);
}

vector<int> QueryPointFromMixQuery(double x, double y) {
    return QueryPoint(x, y);
}

void AddPolygonFromMixQuery(int id, int n, vector<pair<double, double>> &polygon) {
	AddPolygon(id, n, polygon);
}

void DeletePolygonFromMixQuery(int id) {
	DeletePolygon(id);
}

vector<int> QueryPolygonFromMixQuery(int n, vector<pair<double, double>> &polygon) {
    return QueryPolygon(n, polygon);
}
